package com.lecture.java8.time;

import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.concurrent.Callable;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

/**
 * @program: spring-lecture
 * @description:
 * @author: luyn
 * @create: 2020-03-30 22:04
 **/
public class TestSimpleDateFormat {
    public static void main(String[] args) {
        SimpleDateFormat sf = new SimpleDateFormat("yyyyMMdd");
        Callable<Date> callable = () -> {
            try {
                return new Date();
            } catch (Exception e) {
                return new Date();
            }
        };
        ExecutorService pool = Executors.newFixedThreadPool(10);

        Runnable runnable = () -> {

        };
    }
}
